<% Option Explicit %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>ข้อมููลของท่าน</title>
</head>

<body>
<%
Session.CodePage=0
%> 
<?php
 $objConnect = odbc_connect("register_web","","") or die("Error Connect to Database");
$strSQL = "INSERT INTO register ";
$strSQL .="(mem_firstname,mem_lastname,mem_email,mem_password) ";
$strSQL .="VALUES ";
$strSQL .="('".$_POST["txtf_name"]."','".$_POST["txtl_name"]."','".$_POST["txtemail"]."','".$_POST["txtpass"]."') ";
$objExec = odbc_exec($objConnect, $strSQL);
if($objExec)
{
	
	echo $_POST["txtf_name"]. "<br>" ;
 	echo $_POST["txtl_name"] ."<br>";
 	echo $_POST["txtemail"] ."<br>";
 	echo $_POST["txtpass"] ."<br>";
	echo "Save Done.";
}
else
{
	echo "Error Save [".$strSQL."]";
}
odbc_close($objConnect);
 
 
 

?>
</body>
</html>